<form action="/backend/permission_group/records" method="get" class="filter">
	<label for="name">名称</label>
	<input type="text" class="text" name="name" autocomplete="off"/>
	<label for="created_at">创建时间</label>
	<input type="text" class="text datetime" name="start" autocomplete="off"/> 到 <input type="text" class="text datetime" name="end" autocomplete="off"/>
	<input type="submit" class="submit" value="检索"/>
</form>

<ul class="button">
	<li>
		<a href="/backend/permission_group/add">添加权限分组</a>
	</li>
</ul>

<table class="records">
    <thead>
		<tr>
			<th><input type="checkbox" name="select-all" class="select-all" value="0"/></th>
			<th><a href="javascript:void(0);">名称</a></th>
			<th><a href="javascript:void(0);">创建时间</a></th>
			<th>操作</th>
		</tr>
    </thead>
    <tfoot><tr><td colspan="4"></td><tr></tfoot>
    <tbody><tr><td colspan="4" style="text-align: center;">Loading...</td><tr></tbody>
</table>

<script type="text/x-jquery-tmpl" id="list-template">
    <tr>
		<td><input type="checkbox" name="id[]" value="${id}"/></td>
		<td>${name}</td>
		<td>${created_at}</td>
		<td class="action">
			<a href="/backend/permission_group/edit/${id}" class="edit" title="编辑">
				<img src="/assets/img/edit.png" alt="编辑"/>
			</a>
			<a href="javascript:void(0);" class="delete">
				<img src="/assets/img/delete.png" alt="删除"/>
			</a>
		</td>
    </tr>
</script>

<script type="text/x-jquery-tmpl" id="none-template">
    <tr><td colspan="4" style="text-align: center;">No Data.</td></tr>
</script>